<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>学生列表</title>
</head>
<body>
<table align="center" border="1px" cellspacing="0px">
  <tr>
      <th>学生姓名</th>
      <th>学生年龄</th>
      <th>学生成绩</th>
  </tr>
    <c:forEach items="${students}" var="stu">
    <tr>
        <td>${stu.username}</td>
        <td>${stu.age}</td>
        <td>${stu.score}</td>
    </tr>
    </c:forEach>
</table>
</body>
</html>
